cmake_minimum_required(VERSION 2.8)

project(CRM-FFVidClipServer)

option(TAF_MYSQL "option for mysql" ON)
option(TAF_SSL "option for ssl" OFF)
option(TAF_GMSSL "option for ssl" OFF)
#option(TAF_HTTP2 "option for http2" OFF)

if(WIN32)
include (c:\\taf\\cpp\\makefile\\taf-tools.cmake)
else()
include (/usr/local/taf/cpp/makefile/taf-tools.cmake)
endif()


set(CMAKE_BUILD_TYPE "Debug")
# set(CMAKE_BUILD_TYPE "Release")

set(TAF_WEB_HOST "" CACHE STRING "set web host")
IF (TAF_WEB_HOST STREQUAL "")
	set(TAF_WEB_HOST "http://taf.test.com")
ENDIF ()

include_directories(/usr/local/taf/cpp/thirdparty/include)
link_directories(/usr/local/taf/cpp/thirdparty/lib)

#include_directories(/home/tafjce/App/OtherServer)

add_subdirectory(src)

# target_link_libraries(FFVidClipServer ${LIB_MYSQL}) 